home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmeGetDefaultPixel.z / XmeGetDefaultPixel
Text File  |  1998-10-30  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll - Generates colors based on the screen
  10.           background color
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/XmP.h>
  14.           vvvvooooiiiidddd XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           iiiinnnntttt ttttyyyyppppeeee,
  17.           iiiinnnntttt ooooffffffffsssseeeetttt,
  18.           XXXXrrrrmmmmVVVVaaaalllluuuueeee ****vvvvaaaalllluuuueeee);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll generates a color associated with a
  25.           logical component of a widget. For example, you can use
  26.           XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellllto find the foreground color of _w_i_d_g_e_t.
  27.  
  28.           XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll uses the screen's background color to
  29.           calculate the foreground, top shadow, bottom shadow, or
  30.           select color.
  31.  
  32.           _w_i_d_g_e_t    Specifies the widget.
  33.  
  34.           _t_y_p_e      Specifies the component of _w_i_d_g_e_t for which you
  35.                     are requesting information. Specify one of the
  36.                     following values:
  37.  
  38.                     XXXXmmmmBBBBAAAACCCCKKKKGGGGRRRROOOOUUUUNNNNDDDD
  39.                               Specifies a request for the default
  40.                               background color of the screen.
  41.  
  42.                     XXXXmmmmFFFFOOOORRRREEEEGGGGOOOOUUUUNNNNDDDD
  43.                               Specifies a request for the generated
  44.                               foreground color.
  45.  
  46.                     XXXXmmmmTTTTOOOOPPPP____SSSSHHHHAAAADDDDOOOOWWWW
  47.                               Specifies a request for the generated
  48.                               top shadow color.  The top shadow is the
  49.                               portion of the shadow that is generally
  50.                               above and to the left of the widget.
  51.  
  52.                     XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____SSSSHHHHAAAADDDDOOOOWWWW
  53.                               Specifies a request for the generated
  54.                               bottom shadow color.  The bottom shadow
  55.                               is the portion of the shadow that is
  56.                               generally below and to the right of the
  57.                               widget.
  58.  
  59.                     XXXXmmmmSSSSEEEELLLLEEEECCCCTTTT  Specifies a request for the generated
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                               select color.
  75.  
  76.                     If you do not specify one of the preceding values,
  77.                     XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll returns a warning message.
  78.  
  79.           _o_f_f_s_e_t    Specifies the byte offset of this field from the
  80.                     beginning of the widget class. (XXXXmmmmeeeeGGGGeeeettttDDDDeeeeffffaaaauuuullllttttPPPPiiiixxxxeeeellll
  81.                     currently ignores this field; this field is
  82.                     provided solely for compatibility with the
  83.                     Intrinsics.)
  84.  
  85.           _v_a_l_u_e     Returns the requested color.
  86.  
  87.      RRRREEEELLLLAAAATTTTEEEEDDDD
  88.           None.
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.